<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>运通在线服务</TITLE>
 <%@ include file="/WEB-INF/pages/common/frameCommonJs.jsp"  %>
<LINK href="<%=request.getContextPath()%>/css/login/Default.css"
	type=text/css rel=stylesheet />
<LINK href="<%=request.getContextPath()%>/css/login/xtree.css"
	type=text/css rel=stylesheet />
<LINK href="<%=request.getContextPath()%>/css/login/User_Login.css"
	type=text/css rel=stylesheet />
<script type="text/javascript">
	if(self.parent.frames.length != 0) {
		self.parent.location=document.location;
	}
	function login() {
		$("#errorInfo").html('');
		$("#loginForm").submit();
	}
	function reloadValidCode(o) {  
    	o.src = "<%=request.getContextPath()%>/servlet/ValidateCodeServlet?timed=" + new Date().getMilliseconds();  
	}
	function clearPws() {
		$("#password").val("");
	}
</script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/device.js"></script>
</HEAD>
<BODY id=userlogin_body>
	<DIV></DIV>
	<form action="<%=request.getContextPath()%>/login.action" id="loginForm"
		name="loginForm" method="post">
		<DIV id=user_login>
			<DL>
				<DD id=user_top>
					<UL>
						<LI class=user_top_l></LI>
						<LI class=user_top_c></LI>
						<LI class=user_top_r></LI>
					</UL>
				<DD id=user_main>
					<UL>
						<LI class=user_main_l></LI>
						<LI class=user_main_c>
							<DIV class=user_main_box>
								<UL>
									<LI class=user_main_text>用户名：</LI>
									<LI class=user_main_input><INPUT class=TxtUserNameCssClass
										id=loginName maxLength=20 name=loginName value="${user.loginName}"/></LI>
								</UL>
								<UL>
									<LI class=user_main_text>密 码：</LI>
									<LI class=user_main_input><INPUT class=TxtPasswordCssClass
										id=password type=password name=password value="${user.password}" onclick="clearPws()"/></LI>
								</UL>
							 	<UL>
									<LI class=user_main_text>验证码：</LI>
									<LI class=user_main_input><INPUT class="TxtValidateCodeCssClass"
										id=code type=text name=code value="" size="10"  maxlength="4"/><img src="<%=request.getContextPath()%>/servlet/ValidateCodeServlet" title="看不清，点击刷新" onclick="reloadValidCode(this)"/></LI>
									<li ></li>
								</UL>
								<!-- 
								<UL>
									<LI class=user_main_text>Cookie：</LI>
									<LI class=user_main_input><SELECT id=DropExpiration
										name=DropExpiration>
											<OPTION value=None selected>不保存</OPTION>
											<OPTION value=Day>保存一天</OPTION>
											<OPTION value=Month>保存一月</OPTION>
											<OPTION value=Year>保存一年</OPTION>
									</SELECT></LI>
								</UL>
								 -->
								 <UL>
								 	<LI>
								 		<font color="red">
								 			<div id="errorInfo">
								 				<s:if test="#parameters.error[0] == 'sessionout'">: - (&nbsp;&nbsp;登录已超时，请重新登录</s:if>${errorInfo}
											</div>
										</font>
									</LI>
								 </UL>
							</DIV>
						</LI>
						<LI class="user_main_r"><img class="IbtnEnterCssClass"
							id="IbtnEnter"
							style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px;cursor:pointer"
							onclick="login()" 
							src="<%=request.getContextPath()%>/css/login/user_botton.gif"
							title="按回车键也可以登录!" /></LI>
					</UL>
				<DD id=user_bottom>
					<UL>
						<LI class=user_bottom_l></LI>
						<LI class=user_bottom_c><SPAN style="MARGIN-TOP: 40px">Copyright
								运通软件 版权所有 © 2011-2012  。</SPAN></LI>
						<LI class=user_bottom_r></LI>
					</UL>
				</DD>
			</DL>
		</DIV>
	</form>
	<div id="deviceInfo">
		<div id="deviceInfoBox"></div>
		<p></p>
	</div>
</BODY>
</HTML>
